# -*- coding: utf-8 -*-
# @Time    : 2020/10/22 13:06
# @Author  : Leo
# @FileName: hungry_server.py
# @Software: PyCharm

import tornado.ioloop
import tornado.web
import router
# from models.user import job_process


def make_app():
    return tornado.web.Application(router.ROUTER)

if __name__ == "__main__":
    app = make_app()
    app.listen(80)
    tornado.ioloop.IOLoop.current().start()

    # 开启定时提醒任务
    # start_job()